<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="SigifEventosintCreateDlg" widgetVar="SigifEventosintCreateDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.CreateSigifEventosintTitle}">
            <h:form id="SigifEventosintCreateForm">
                <h:panelGroup id="display">
                    <p:commandButton actionListener="#{sigifEventosintController.create}" value="#{bundle.Save}" update="display,:SigifEventosintListForm:datalist,:growl" oncomplete="handleSubmit(args,'SigifEventosintCreateDialog');"/>
                    <p:commandButton value="#{bundle.Cancel}" onclick="SigifEventosintCreateDialog.hide()"/>
                    <br /><br />
                    <p:panelGrid columns="2" rendered="#{sigifEventosintController.selected != null}">
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_ideventosint}" for="ideventosint" />
                        <p:inputText id="ideventosint" value="#{sigifEventosintController.selected.ideventosint}" title="#{bundle.CreateSigifEventosintTitle_ideventosint}" required="true" requiredMessage="#{bundle.CreateSigifEventosintRequiredMessage_ideventosint}"/>
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_eventoId}" for="eventoId" />
                        <p:inputText id="eventoId" value="#{sigifEventosintController.selected.eventoId}" title="#{bundle.CreateSigifEventosintTitle_eventoId}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_eventointerno}" for="eventointerno" />
                        <p:inputText id="eventointerno" value="#{sigifEventosintController.selected.eventointerno}" title="#{bundle.CreateSigifEventosintTitle_eventointerno}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_desObjetivoEvento}" for="desObjetivoEvento" />
                        <p:inputText id="desObjetivoEvento" value="#{sigifEventosintController.selected.desObjetivoEvento}" title="#{bundle.CreateSigifEventosintTitle_desObjetivoEvento}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_desObs}" for="desObs" />
                        <p:inputTextarea rows="4" cols="30" id="desObs" value="#{sigifEventosintController.selected.desObs}" title="#{bundle.CreateSigifEventosintTitle_desObs}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_datIniVig}" for="datIniVig" />
                        <p:calendar id="datIniVig" pattern="dd/MM/yyyy" mask="99/99/9999" value="#{sigifEventosintController.selected.datIniVig}" title="#{bundle.EditSigifEventosintTitle_datIniVig}"  showOn="button"/>
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_datFimVig}" for="datFimVig" />
                        <p:calendar id="datFimVig" pattern="dd/MM/yyyy" mask="99/99/9999" value="#{sigifEventosintController.selected.datFimVig}" title="#{bundle.EditSigifEventosintTitle_datFimVig}"  showOn="button"/>
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_desLocal}" for="desLocal" />
                        <p:inputText id="desLocal" value="#{sigifEventosintController.selected.desLocal}" title="#{bundle.CreateSigifEventosintTitle_desLocal}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_desCidade}" for="desCidade" />
                        <p:inputText id="desCidade" value="#{sigifEventosintController.selected.desCidade}" title="#{bundle.CreateSigifEventosintTitle_desCidade}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_numQtdPartic}" for="numQtdPartic" />
                        <p:inputText id="numQtdPartic" value="#{sigifEventosintController.selected.numQtdPartic}" title="#{bundle.CreateSigifEventosintTitle_numQtdPartic}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_horIni}" for="horIni" />
                        <p:calendar id="horIni" pattern="HH:mm:ss" value="#{sigifEventosintController.selected.horIni}" title="#{bundle.EditSigifEventosintTitle_horIni}"  showOn="button"/>
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_horFim}" for="horFim" />
                        <p:calendar id="horFim" pattern="HH:mm:ss" value="#{sigifEventosintController.selected.horFim}" title="#{bundle.EditSigifEventosintTitle_horFim}"  showOn="button"/>
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_sieve}" for="sieve" />
                        <p:inputText id="sieve" value="#{sigifEventosintController.selected.sieve}" title="#{bundle.CreateSigifEventosintTitle_sieve}" />
                        <p:outputLabel value="#{bundle.CreateSigifEventosintLabel_estado}" for="estado" />
                        <p:inputText id="estado" value="#{sigifEventosintController.selected.estado}" title="#{bundle.CreateSigifEventosintTitle_estado}" />
                    </p:panelGrid>
                    <p:commandButton actionListener="#{sigifEventosintController.create}" value="#{bundle.Save}" update="display,:SigifEventosintListForm:datalist,:growl" oncomplete="handleSubmit(args,'SigifEventosintCreateDialog');"/>
                    <p:commandButton value="#{bundle.Cancel}" onclick="SigifEventosintCreateDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
